home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / cite / support / Docs / Manual < prev    next >
Text File  |  1996-03-30  |  47KB  |  952 lines

  1.                 Citation Database Manager (v1.5) Manual
  2.                 ========================================
  3.  
  4.            CONTENTS
  5.            --------
  6.            1. Input
  7.              1.1 - Keyboard input
  8.              1.2 - File import
  9.              1.3 - #ID numbers
  10.            2. Output
  11.              2.1 Export Icon
  12.              2.2 Field Export
  13.              2.3 Generating Citations
  14.                 2.3a Defining the style
  15.                 2.3b Selecting references
  16.                 2.3c Generating the output
  17.            3. Searching
  18.              3.1 First Author
  19.              3.2 Record #ID No.
  20.              3.3 General Search
  21.            4. Archiving
  22.            5. Configuration & Preferences
  23.              5.1 memory_transfer
  24.              5.2 Journals
  25.              5.3 Preferences
  26.               5.3a Archive opt(ion)s
  27.               5.3b Export "and" separator
  28.               5.3c Citation "and" separator
  29.               5.3d Export type
  30.               5.3e Brackets
  31.               5.3f Medlars Abstract
  32.            6. Misc
  33.            7. Errors
  34.  
  35.  
  36. This package should included the following:
  37.  
  38. * !Citation - Main Application.
  39. * Refsdata - example citation library, drag to the iconbar icon.
  40. * Txtdata - an example bulk import text (see section 1.2 Bulk import).
  41. * OldArch - a pre-v1.5 example archive file (see section 4. Archiving).
  42. * NewArch - a v1.5 example archive file.
  43. * Medlars - an example Medlars file.
  44. * Docs directory - containing this Manual and some !Draw files showing 
  45. annotated screen shots.
  46.  
  47. What follows is a brief run down of the main features of !Citation - 
  48. don't be afraid to experiment using the supplied example data.
  49.  
  50. 1. Input
  51. ========
  52. "Where do I start?".... Load !Citation (double click in the icon in the 
  53. filer window) and drag a library (for example "Refsdata" supplied with 
  54. this package) to the !Citation icon on the iconbar (the big "C") and you 
  55. will see the main viewer window display the first record in the citation 
  56. library. Note that !Citation data libraries are actually application 
  57. directories which can be copied, moved and *DELETED* (though not whilst 
  58. it is being used by !Citation - please) as usual through the RISCOS filer 
  59. menus... so keeping backups is easy. 
  60.  
  61. Shift-double clicking on a library (app directory) opens it to show the 
  62. data files, one not surprisingly called "data" and others called "0", "1" 
  63. etc. which are indexes. Do not alter these files or your data will be 
  64. corrupted - but of course you will always have that back-up...?? You will 
  65. also see the !Run and !Sprite files which are needed to define the 
  66. resource as an application directory.
  67.  
  68. "What about renaming the library?"..... Renaming these data resources has 
  69. always been a bit problematical (look at CC's Impression) because the 
  70. sprites in the sprite files need to be re-named as well as the directory 
  71. otherwise the icon will not be displayed. Unless you are familiar with 
  72. the workings of sprites and are happy with the former method, perhaps the 
  73. easiest way to rename a library is to create a new library with the 
  74. required name, open it, delete the empty data files and copy the full 
  75. data files into the new directory. Note that it is the library directory 
  76. that has a "name" not the data files.
  77.  
  78. "How do I create a *NEW* library?".... Simply open up the icon bar menu, 
  79. select "New Library", enter a name and drag to a filer window. Data files 
  80. will be automatically created in this directory by !Citation and an empty 
  81. viewer window displayed ready for data entry. The "!" prefix is 
  82. automatically added to the name if you forget.
  83.  
  84. If no library is loaded then the main viewer window opens with "No file 
  85. open - Waiting" and advice in the Title field to "Drag a citation library 
  86. to the iconbar...". Dragging a library to the iconbar immediately open 
  87. the file and displays the first record. If you have several libraries, 
  88. when the next is dragged to the iconbar and the current library is closed 
  89. and the new one opened.
  90.  
  91. "Close library" in the iconbar menu closes the current library and 
  92. returns !Citation to its waiting mode. This option is occasionally useful 
  93. since the pathname of the last active library is retained in a 
  94. configuration file so that !Citation always opens where you left off. If 
  95. this library moves or is deleted between running !Citation, !Citation 
  96. will report an error and open with "No file open". If you make a back-up 
  97. of the configuration file (see 5. Configuration) use the "close file" 
  98. option in the icon bar menu first. This zeros the active library to 
  99. "default" and prevents this error - but don't worry it is not a fatal if 
  100. it does occur!
  101.  
  102. 1.1 - Keyboard input
  103.       --------------
  104. We will deal with manual input first and describe the actions of the 
  105. icons on the main viewer card (see also accompanying !Draw file - 
  106. "viewer")....
  107.  
  108. Icons at the top of the card are grouped from left to right:
  109.  
  110.  *Window header bar - shows the name of the active file, editing/adding 
  111. modes and the number of records in the library.
  112.  
  113.  *Status window - shows the record #ID number.
  114.  
  115.  *Goto first record arrow
  116.  *Goto previous record arrow - note "adjust" click on previous/next 
  117. arrows jumps 10 records and "select" just one record.
  118.  *Goto next record arrow
  119.  *Goto last record arrow
  120.  
  121.  *Add a record - in this mode all arrow keys are disabled (in fact all 
  122. record movements) while a new record is manually added.
  123.  
  124.  *Edit a record - once in this mode one can "browse edit" with arrow keys 
  125. to allow easy alteration of consecutive records. This also works with 
  126. secondary arrow icons in "Search" and "Generate subset" windows (see 
  127. later). In browse editing mode altered records will be automatically 
  128. updated if user moves to a new record (ie. clicks on an arrow in the main 
  129. viewer window) but you must use "Save" on the last altered record if 
  130. leaving this mode, to update the file. This also applies to the secondary 
  131. arrows other windows (see below).
  132.  
  133.  *Delete - flags the current record as deleted. Note records are not 
  134. removed until the file is "Compacted" from the icon bar menu ("Compact 
  135. library") since this can be a time consuming process and best executed in 
  136. bulk. No attempt is made to stop the user editing deleted records. These 
  137. will be lost on the next compact but can be reinstated BEFORE compacting 
  138. using the "Main menu­>Misc­>Undelete" option.
  139.  
  140.  *Cancel - abort current operation and reinstate altered fields.
  141.  
  142.  *Save - update any changes to disc (note comment in Edit above). Only 
  143. one record is ever held in memory so that if the system crashes data loss 
  144. is minimal.
  145.  
  146.  *Export icon allows dragging of author names directly into your paper in 
  147. the appropriate format eg. "[Radulescu et al, 1986]" or "[Smith & Jones, 
  148. 1801]". (see 2. Output, for difference between select/adjust drags)
  149.  
  150. If no file is open then all icons are disabled. If a new, empty data file 
  151. is selected then only the "add" icon functions.
  152.  
  153. Now to the nitty-gritty of typing. !Citation needs to have authors 
  154. entered in a specified format to provide a known starting point from 
  155. which the various output formats can be derived. Authors should be 
  156. entered as: SURNAME, SPACE then INITIALS with no spaces between initials 
  157. eg. Brown FG, Williams ED. !Citation assumes that all the characters 
  158. *AFTER* the last space separator are the initials so that double-barreled 
  159. or complex surnames with several part can be used eg.
  160.  
  161.  Wynford-Thomas D               ("D" is the initial)
  162.  Yo Ti Wa XF                    ("XF" are taken as the initials)
  163.  de Cuevas BA                   ("BA" are taken as the initials)
  164.  Minster (Jean-Francois) J-F    ("J-F" are taken as the initials)
  165.  The FRAM Group                 ("Group" is interpreted as initials)
  166.  
  167. The last example represents a special case since it is likely that the 
  168. user would wish to treat this author string as as a single entity. To 
  169. indicate this, all the elements of the string *MUST* be joined by a 
  170. hyphen or similar unique separator thus:
  171.  
  172.  The-FRAM-Group or The#FRAM#Group
  173.  
  174. !Citation will then handle this string as a "surname" only with no 
  175. initials. The separator may then later be removed by "Search & Replace" 
  176. in the final copy.
  177.  
  178. Note also, that provided punctuation of Authors fields is not required 
  179. (in "Author Options", Citation styles window), full first names may also 
  180. be used eg. Bond James.
  181.  
  182. Up to ten authors can be specified and the "et al" icon can be selected 
  183. at any time to add "..., et al" to the author output. Note that this icon 
  184. is automatically selected if more than 10 authors are detected on bulk 
  185. input, to flag to the user that more authors exist than can be 
  186. accommodated by !Citation. Each maximum author length is 23 characters 
  187. for surname and initials (...technical limitations I'm afraid but should 
  188. be enough for most purposes).
  189.  
  190. Title and Notes fields have a 254 character limit.
  191.  
  192. The source fields comprise:
  193.      Journal/Book title - 55 chars
  194.      Editors            - 30 chars
  195.      Publisher          - 25 chars
  196.      ISBN/Place         - 25 chars
  197.      volume             - 10 chars
  198.      pages              - 15 chars
  199.      date               - 15 chars
  200.  
  201. These are essentially free format so that dates can be 1967 or 1973a or 
  202. 13th Sept 1856. Similarly, pages and volume can contain letters to allow 
  203. for example supplement page numbers "s11-s45". This flexibility 
  204. essentially means that there can be no validation check on these fields 
  205. for, say, numerical input only.
  206.  
  207. A "select" click on the menu icon which sits by the Source header brings 
  208. up a menu of your preferred journals (see 5. Configuration, for 
  209. information on how to edit this list). If you are in adding/editing mode 
  210. then clicking on an item in this menu inserts it into the Journal/Book 
  211. title field, otherwise the options are greyed out (unselectable).
  212.  
  213. The Keyword field can be upto 55 characters in length and can be used in 
  214. any manner you wish, with or without separators between words.
  215.  
  216. "How do I start adding references?".... Clicking on the "Add" icon will 
  217. clear the card ready for input. The cursor will be initially in the First 
  218. Author field but can be moved to another field by clicking into it or 
  219. using "Tab" or "Return" to step through fields. "Tab" will step though 
  220. groups of fields so that if there is only one author to enter, "Tab" will 
  221. jump on to Title whereas "Return" steps through individual fields 
  222. sequentially.
  223.  
  224. The left/right cursor keys move within a field and with shift or ctrl 
  225. effecting larger steps. Text in the longer fields will word wrap and 
  226. scroll if necessary. Shift-Tab moves to the previous field. Ctrl-U clears 
  227. a field and other standard RISCOS protocols apply.
  228.  
  229. "Page up/down" or shift up/down arrows will allow browsing through 
  230. records, mimicking clicking on the forward/back icons with "select".
  231.  
  232. Note the "Paper type" and "Copy?" icons which give a quick visual 
  233. reminder to the paper type or possession of a hard copy.
  234.  
  235. A format card is available, which, in the adding mode, allowing authors, 
  236. title, notes, papertype, copy, etal, keywords etc. *AS WELL AS* the 
  237. subset assignments (see defining subsets in section 2.3b), to be 
  238. duplicated over several additions. This is accessed from the 
  239. "Main Menu­>Format card­>Edit format". Remember to toggle this option ON 
  240. with "Format card­>Use format". A tick by this item in the menu indicates 
  241. the format card is active. Toggle OFF after use.
  242.  
  243. 1.2 - File import
  244.       -----------
  245. The file import window is accessed from the "Main Menu->File import". 
  246. This window is used for three types of importing: 1) Citation archive 
  247. files, dealt with later, 2) So called "Five-line text" files and 3) 
  248. Medlar formatted files.
  249.  
  250. The "five-line" text files are a useful option, as described in the 
  251. introduction. Personally I keep a list of my current references in a text 
  252. file on my Psion/Pocket book as a plain text file, adding to this list as 
  253. I come across new references. This saves long typing sessions and keeps 
  254. me organized...!
  255.  
  256. The five-line file has the following format:
  257.  
  258. start of file...
  259. au,au,au[CR]
  260. title[CR]
  261. journal_title,vol,pages,yr[CR]
  262. notes[CR]
  263. [CR]
  264. ...end of file
  265.  
  266. There is a new line (CR or LF not both) after each line and after the 
  267. last line of the last reference. The authors and source lines are 
  268. formatted as comma separated variables and if no "notes" are included a 
  269. blank line should *STILL* be present, so that there are *TWO* blank lines 
  270. after the "Journal_title" line before the next reference (see the 
  271. accompanying "Txtdata" file for an example).
  272.  
  273. Thus there are 4 lines carrying the information and a 5th blank 
  274. terminator line (this is used as a rough check that the file is in the 
  275. correct format before import). The 5-line format however doesn't cater 
  276. for the extra book fields in the database which will have to be entered 
  277. manually.
  278.  
  279. "How do I import my 5-line text file?".... Open the File import window, 
  280. ensure the 5-line/Medlar is appropriately set and drag your text file 
  281. into the window. (The import window only accepts CSV files, which it 
  282. assumes are archives and text-type files which are assumed to be either 
  283. 5-line or Medlars input depending on the button setting.) You will be 
  284. informed that the file format will be checked first and given the option 
  285. to continue or cancel. I have found, from experience, that despite this 
  286. simple file structure it is easy to put an extra CR/LF in by mistake or 
  287. forget to leave a blank line between references or a blank line for the 
  288. "notes" if none are present. This would cause a synchronization error on 
  289. import with fields being entered out-of-step.
  290.  
  291. To prevent this Citation checks that each entry comprises 4 lines 
  292. followed by a blank 5th line and if a non-blank 5th line is detected an 
  293. error is flagged with an indication of roughly (+/- 1) around which entry 
  294. the error lies. The file length is also checked to see if it accords with 
  295. the number of entries. Lines of over 254 characters (this applies 
  296. primarily to "title" and "notes" fields) are automatically truncated and 
  297. ">>" added to the end to indicate this. No other warning is issued.
  298.  
  299. If the format is OK then the user is asked whether to continue with the 
  300. import. If a format error is flagged, check the file at the indicated 
  301. place, correct the error and begin the process again. The error checking 
  302. routine is fairly simple and aborts on the first error encountered. It 
  303. might require several runs to debug a file that contains multiple errors 
  304. but this is better than having all the fields out-of-synch. Importing 
  305. occurs at about 40 references/min on an old ARM3 A410 (time for a cuppa!) 
  306. but should be faster on newer models. 
  307.  
  308. "What about Medlars files?".... Medlar files are a standard format 
  309. produced by some computerized journal databases specifically for 
  310. importing into bibliography managers. I use this facility on MedLine 
  311. which is the main database in the medical field but since this format is 
  312. widely used by bibliography managers on other platforms (Endnote & 
  313. Papyrus) I guess it is fairly universal. An example file is included with 
  314. this package.
  315.  
  316. Importing is through the same window but select the Medlars button BEFORE 
  317. dragging the file. Confirmation for import is requested and then the 
  318. whole file is directly imported on the assumption that, being machine 
  319. created, there is no need to pre-check. However if you edit your file 
  320. first to select out the desired references be sure to leave the 
  321. individual references intact. These have a 6 character leader to each 
  322. line which either contains a field assignment eg "AU -  " or 6 spaces for 
  323. continuing assignments. Each reference is terminated by a blank line. All 
  324. these are required for !Citation to work out what goes where!! So the 
  325. message is... edit with care...
  326.  
  327. You will also see from the example file that I have assumed that these 
  328. will be DOS files with both a CR and LF at the end of each line. 
  329. !Citation will handle this automatically - there is NO NEED to strip out 
  330. CRs - in fact if you do, this will mess up the routine. If you have a 
  331. system that doesn't use DOS let me know and I can make a simple change to 
  332. the routine to account for single LFs of CRs.
  333.  
  334. "Can I replicate some fields over a series of file import cards?"... 
  335. Yep.. With both types of file import, the Format card (Main Menu­>Format 
  336. card­>Edit Format) can be used to set "papertype", "copy?" & keywords. 
  337. The keyword option in particular, provides an easy means of grouping 
  338. papers since a particular keyword can be searched for and autoadded to a 
  339. Subset for output (see 3.3 General search). Don't forget to toggle 
  340. "Main Menu­>Format card­>Use format" ON (ie. ticked) and untick after 
  341. use.
  342.  
  343. "Oh <substitute expletive>! I imported the wrong file... What can I do?"
  344. Have a cuppa and calm down... If you import the wrong batch of references 
  345. or an error occurs and the file is half imported you can use the "Delete 
  346. import" option from the "Main Menu­>Misc­>Delete import" to remove all of 
  347. the last imported references and compact the file. If you have other 
  348. deleted records in the file, this process also removes them - beware... 
  349. Note this only works within a session. If you quit and restart !Citation 
  350. the import pointers are lost. 
  351.  
  352. The user can also directly import text files to the Author, Title and 
  353. Notes fields of the displayed record by drag'n'drop on the appropriate 
  354. field. Note that this can ONLY be done in editing/adding mode. Authors 
  355. should be comma separated and in the usual format. If a mistake is made 
  356. "Cancel" will usually reinstate the previous text. Text also can be 
  357. exported from these fields (see 2. Output) which means that !Edit can be 
  358. easily used as a tool for editing long fields, re-importing after 
  359. alterations.
  360.  
  361. 1.3 - #ID Numbers
  362.       -----------
  363. Each reference in !Citation is allocated a unique identity number (#ID) 
  364. which is indicated in the status window as "No. #xxxx". To ensure that 
  365. the #ID numbers are indeed unique they are assigned sequentially as 
  366. records are added. Thus for a group of records in which there have been 
  367. no deletions, these #ID numbers run sequentially but as records are 
  368. deleted, gaps in the sequence may appear but this is of little 
  369. consequence to the user.
  370.  
  371. Two options are provided to manage record #ID numbers. "Main Menu­> 
  372. Misc­>Reset #ID No." leads to a small window which shows the #ID number 
  373. which will be assigned to the next entry and allows the user to change 
  374. this "seed" value. This must be done with EXTREME caution since you may 
  375. well end up generating duplicate #ID numbers and there is little error 
  376. checking in this routine - alterations require confirmation through a 
  377. warning box. Altering this "seed" value may be of use if you need to add 
  378. a group of records originating from another application (de-archive or 
  379. file import) which require specific #ID numbers, though I am sure other 
  380. occasions may present themselves.
  381.  
  382. The other option, "Main Menu­>Misc­>Alter #ID No.", allows the user to 
  383. alter the #ID number of the record currently shown in main viewer window. 
  384. Again caution is advised but this routine checks for invalid or duplicate 
  385. number or warns the user that the #ID lies outside the current range and 
  386. may be duplicated later
  387.  
  388.  
  389. 2. Output
  390. =========
  391. Output from !Citation can be performed in 3 ways. 
  392.  
  393. 2.1 - Export Icon
  394.       -----------
  395. A "select" drag from the Export Icon (green arrow, top right of main 
  396. window) gives "[authors & yr]" only from the current reference shown in 
  397. the card. This is useful if you have !Citation running as your are 
  398. writing and want to insert the currently displayed author into the 
  399. paper's text. !Citation automatically works out the appropriate author 
  400. format and puts this into the paper with the year surrounded by 
  401. parentheses. This should work with any type of wordprocessor/DTP package 
  402. and uses file or direct memory transfer. Alternatively an "adjust" drag 
  403. from export icon give full citation in the defined citation style (see 
  404. section 2.3a).
  405.  
  406. 2.2 - Field Export
  407.       ------------
  408. As mentioned in section 1.2, the Author, Title and Notes fields can be 
  409. directly exported to file or to an application through direct memory 
  410. transfer by dragging from the small green arrow adjacent to their header 
  411. icons (see the !Draw file "viewer"). Note that text can be dragged 
  412. directly back into those fields *ONLY* when !Citation is in the editing/
  413. adding mode.
  414.  
  415. 2.3 - Generating citations for final output to a technical paper
  416.       ----------------------------------------------------------
  417. This comprises three parts a) defining the style of the output 
  418. references, b) selecting which references within the database are for 
  419. output and c) generating the output set.
  420.  
  421. 2.3a - Defining the Style
  422.        ------------------
  423. The essence of !Citation is the ability to output references in any 
  424. desired format. Styles are set up in the the Citation style window (Main 
  425. Menu­>Citation style, see also the !Draw file "style") and allow any 
  426. style of output using certain command words. These are (note lower case 
  427. and exact spelling):
  428.  
  429.      Command          Output
  430.      -------          ------
  431.      idn              Unique ID no.
  432.      auth             Authors in given format
  433.      title            Piece title
  434.      sot              Source (Journal/Book) title
  435.      vol              Volume field
  436.      pgs              Page field
  437.      date             Obvious really!
  438.      eds              Editor field
  439.      pub              Publisher field
  440.      isbn             ISBN/Place field
  441.      keys             Keywords field
  442.      note             Notes fields
  443.      *                Tab char [09]
  444.      /                New line [LF]
  445.  
  446. They are mostly self explanatory. Any or all of the command words can be 
  447. combined in any order with any punctuation or special characters (*/) as 
  448. indicated above eg.
  449.  
  450.            auth (date)./title/{italic on}sot{italic}/vol;pgs
  451.  
  452. This would output the authors followed by a space, date in parentheses 
  453. followed by a full-stop, new-line, title, new-line, curly brackets 
  454. containing the words "italic on" followed directly by the source and 
  455. "{italic}" again. A new-line is inserted before volume number which is 
  456. followed by a semi-colon and page numbers.
  457.  
  458. Anything which !Citation encounters in the style format which is not a 
  459. command word or */ is simply included in the output at the appropriate 
  460. place eg. all punctuation (including spaces) and strings like {italic}. 
  461. Note that the expressions in {curly brackets} are text formatting 
  462. commands recognised by Impression which allow automatic conversion of the 
  463. enclosed text into the specified style (see CC's Impression/Style manual 
  464. - "Advanced Search and Replace" or set up some styles and export the text 
  465. story with "Styles Set". The exported text will show the correct format). 
  466. Thus in this case the "source" field will be italicized - a requirement 
  467. of some journals.
  468.  
  469. Three journal styles and 3 book styles, are stored in !Citation and these 
  470. are saved in a configuration file (see 5. Configuration). Select which 
  471. style you wish to use with the radio buttons by each style. To return to 
  472. the default settings use the "Iconbar Menu­>Citation styles­>Default" 
  473. (note this will replace your currently stored styles on exit). To restore 
  474. the last saved styles to the current style window use the "Iconbar 
  475. Menu­>Citation styles­>Restore".
  476.  
  477. The Author options in Citation style window allows surname and initials 
  478. to be reversed (from that shown in the viewer window), surname to be 
  479. capitalized, and initials to be punctuated with a full stop, space or 
  480. "#". The latter is sufficiently unusual to allow later search and replace 
  481. in !Edit to convert to more esoteric separators if desired. The "With 
  482. and" option allows automatic insertion of "and" or "&" (see Configuration 
  483. 5.3b, 5.3c) before the penultimate author if required.
  484.  
  485. Book Styles
  486. -----------
  487. Book references often require a slightly different output format from the 
  488. standard journal format so !Citation automatically detects references 
  489. which are of "book" type from the "Type" setting (viz. Paper/Review/Book) 
  490. in the main viewer window and uses the selected "Book" format specified 
  491. in the !Citation styles window. eg.
  492.  
  493. Authors: Ears BG
  494.          Noddy TB
  495. Title: The role of toys in child development.
  496. J/B title: Symposium on Child Health and Development
  497. Editors: Caroll L and Seagull L
  498. Publisher: Churchill Livingstone
  499. ISBN: 1234-4569-7894
  500. Pages: 124-134
  501. Year: 1985
  502.  
  503. The book format of:
  504.    auth (date)/title In: sot. Eds.: eds, Publisher: pub. ISBN isbn pp pgs
  505.  
  506. will then output:
  507. Ears BG, Noddy TB (1985)
  508. The role of toys in child development. In: Symposium on Child Health and 
  509. Development. Eds.: Caroll L and Seagull L, Publisher: Churchill 
  510. Livingstone. ISBN 1234-4569-7894. pp 124-134
  511.          
  512.  
  513. 2.3b - Selecting references for output
  514.        -------------------------------
  515. !Citation uses the idea of "Subsets" to select which references are for 
  516. output, such that any record in the file can be included in a "Subset" of 
  517. references. This simply means that each record holds a flag (actually 5 
  518. flags) which indicates whether that record is a member of a particular 
  519. Subset.
  520.  
  521. There are up to 5 Subsets (hence 5 flags, numbered 0 to 4) and any record 
  522. can be a member of any one or more of these Subsets or none. The Subset 
  523. status for any record is shown in the "Define subset" window (Main 
  524. Menu­>Citation subsets­>Define subsets, see !Draw file "subsets"). This 
  525. window is an extension of the information seen in the main viewer and 
  526. changes as the user browses the file. A reference is included in a Subset 
  527. if the button by the Subset number (0 to 4) is ticked. The field next to 
  528. this button, which contains a number will turn yellow if the 
  529. corresponding set is selected - this is the "Ordering value" (we will 
  530. return to this below).
  531.  
  532. To select a Subset of references for output, one browses through the file 
  533. to find the desired references and each time clicks on a Subset button to 
  534. include that reference. With 5 Subsets, the user can have say, 5 papers 
  535. on the go at any one time each defining a discrete Subset, though of 
  536. course any one record may be a member of several Subsets. This method, 
  537. particularly in combination with the various search options (see below), 
  538. allows references to be easily added or removed from a Subset. The "Clear 
  539. subset" option (Main Menu­>Citation subsets­>Clear subset) will clear any 
  540. selected subset of ALL members - use wisely.
  541.  
  542. It is thus essentially very easy to build up a Subset but what about the 
  543. output order? In most cases journal require references to be arranged in 
  544. alphabetical order, which can be performed automatically by !Citation but 
  545. what about those that require references to be arranged in a particular 
  546. order - usually the order in which the references occur in the text? This 
  547. is where the "Ordering value" comes into play. This is simply a value 
  548. which indicates to !Citation the order which the user would like the 
  549. references to be arranged on output - note it is NOT the number which is 
  550. printed by the reference on the final output but a value which simply 
  551. determines the order in which references are organised in the final 
  552. output. Thus the Ordering values do not need to be consecutive eg. if 
  553. ref1=(10), ref2=(20), ref3=(15) the output will be.... 1. ref1  2. ref3  
  554. 3. ref2
  555.  
  556. In fact the bump icons in this window can increment in steps of 1 or 10 
  557. depending on whether the are "select" or "adjust" clicked and I would 
  558. recommend that the user uses large steps so that is is easy to go back an 
  559. insert or reorder the references as the paper evolves.
  560.  
  561. The process of setting the Ordering value is an extension of selecting 
  562. the record as a Subset member. Once the Subset button is ticked the 
  563. ordering field becomes available (ie. goes yellow). You should see the 
  564. cursor in this field, if not click in it to put the cursor there, then 
  565. either use the bump icons to increment/decrement the value (0 to 999) or 
  566. enter a value manually. One only needs to click on the "Save" icon 
  567. (bottom right of the card) if manually inputting a number into Ordering 
  568. value. Clicking on the bump icons updates the record automatically. Once 
  569. the Ordering value is given move on to the next record...and so on. Note 
  570. that if the user only requires an alphabetical output the Ordering value 
  571. can be ignored.
  572.  
  573. The Subset selection buttons or Ordering values for a record can be 
  574. changed at anytime and are stored with the record until the Subset is 
  575. cleared.
  576.  
  577. 2.3c - Generating the output subset
  578.        ----------------------------
  579. We now have a citation output style and a Subset (or more) defined and we 
  580. can output the Subset to the paper. Opening the Main Menu­>Citation 
  581. subsets­>Generate set window shows the 5 possible subsets, the Order 
  582. options, Go, Clear and Arrow icons (see !Draw file "subsets"). First 
  583. select the Subset for output using the "Subset" radio buttons and then 
  584. the desired output order. This is "plain Alphabetical", "Numbered 
  585. alphabetical" and "Ordered" ie. according to the Ordering values. Click 
  586. on the "Go" icon and !Citation searches the database to collect together 
  587. all records which are members of that subset. The arrow keys can now be 
  588. used to browse through the set to check the order and membership. The 
  589. status window in this card indicates the browse position in the Subset.
  590.  
  591. Note that once !Citation has calculated this group, altering the 
  592. membership of the Subset with the "Define set" window has no effect until 
  593. the process is "Clear"ed and started again. The final step is to click on 
  594. the Generate subset icon (blue icon by the status window) and a save box 
  595. is shown for the user to drag the set to file or directly into the paper.
  596.  
  597. 3. Searching
  598.    =========
  599. Three forms of searching are supported a) First Author, b) Record #ID 
  600. number and c) General Search (see !Draw file "search").
  601.  
  602. 3.1 - First Author
  603.       ------------
  604. !Citation maintains an index of First author names as they are entered 
  605. which allows very rapid searching. Opening the search window (Main 
  606. Menu­>Search­>1st author) shows a yellow string entry field. Click in 
  607. this field and begin entering the surname. Each letter is grabbed by 
  608. !Citation as it is entered and the file updated to the nearest match. If 
  609. the sequence of letters thusfar entered (which need not necessarily be 
  610. the whole name) is not found then !Citation bleeps and flags "Not found" 
  611. in the main card status window. The arrow keys on the search card allow 
  612. alphabetical browsing of the file either around your found surname or if 
  613. the field is empty, through the whole file. The user can, in this way, 
  614. search for an author and once found browse round related papers.
  615.  
  616. If there appears to be a problem with the alphabetical ordering it may be 
  617. because the author index has become outdated. This shouldn't often happen 
  618. but may occur after multiple file imports and deletes. In this case re-
  619. index the file using the "Re-index" option on the iconbar menu - this 
  620. doesn't take long. An out-of-date index does not affect the "Generation 
  621. subset" option since this creates its own new index each time.
  622.  
  623. 3.2 - Record #ID No.
  624.       --------------
  625. This simply accesses any record by its unique #ID number so that the user 
  626. can go directly to any reference. The card number is entered into the 
  627. entry field and pressing <Rtn> activates the find.
  628.  
  629. 3.3 - General Search
  630.       --------------
  631. For more extensive searches, including all Authors, Keywords, Sources and 
  632. Subject (ie. Title, Keyword and Note fields combined) use the general 
  633. search option (Main Menu­>Search­>General Search).
  634.  
  635. The "Search range" on the general search card is self evident. "Authors" 
  636. searches ALL authors (unlike the first author search). "Subject" searches 
  637. Title, Keywords and Notes for the search string. "Keywords" searches 
  638. keywords only - useful for defining a Set. The search string is case 
  639. independent and the search performs a simple - "does the field specified 
  640. in the search range *contain* the search string".
  641.  
  642. This window bears some similarities in function to the "Generate subset" 
  643. window in that a search string is entered and "Go" clicked (pressing 
  644. <Rtn> after typing the search string mimics clicking on "Go"). The number 
  645. of finds is flagged in the status window and the arrow icons allow 
  646. browsing (and editing) through the found records with the status window 
  647. indicating the position of the record in the found group. Before entering 
  648. another search string the current search needs to be cleared with the 
  649. "Clear" icon.
  650.  
  651. Searching with an empty search string selects all records. This could be 
  652. useful if you wish to output all references in a file, perhaps to import 
  653. to another application (note that there is also an archive option which 
  654. produces a CSV output of the entire file, see section 4.). Defining the 
  655. citation style with commas or tabs separating fields allows a CSV or TSV 
  656. formatted output (TSV though obviates any problems with the commas 
  657. separating authors).
  658.  
  659. The "Autoadd" option adds all finds to a specified Subset but does not 
  660. provide an Ordering value. This is useful if the user has a group of 
  661. records characterized by a specific term in the subject or keywords 
  662. fields. These can be searched out and added to a Subset ready for output. 
  663. An ordering value can be added by selecting the Subset using the 
  664. "Generate subset" option with alphabetical ordering and stepping though 
  665. the Subset updating the Ordering value as necessary.
  666.  
  667.  
  668. 4. Archiving
  669. ============
  670. Selecting "Archive" from the iconbar menu archives the main fields (ie. 
  671. Author, Title, Source, Year) of the *ENTIRE* current library into a CSV 
  672. format file. It is also possible to include the other ancillary fields 
  673. usually held in a Citation record, viz. identity number, notes and button 
  674. fields into the file by altering the "Archive opts" in the "Icon Bar Menu 
  675. -> Preferences..." window (see section 5.2 for Archiving options). The 
  676. button fields, "etal", "papertype" and "Copy?", are converted to text 
  677. values in the process (ie. to etal_on/off, copy_on/off and research/
  678. review/book - see example Archive file) to make the file more readable.
  679.  
  680. In contravention to the CSV standard, the archive file carries a one line 
  681. header which provides general information on the creation date etc. but 
  682. more importantly for Citation, specifies the presence of ancillary 
  683. fields. This header shouldn't cause much of a problem in general use and 
  684. can be deleted if the archive is not intended for use with Citation (see 
  685. Technical info below).
  686.  
  687. The archive options are by default set to include all fields except the 
  688. identity numbers which is a suitable configuration for the following 
  689. operations.
  690.  
  691. The first major use of archiving is for the combining libraries. Simply 
  692. load and archive each of the libraries you wish transfer, then open the 
  693. receiving library and drag the CSV archive files to the file import 
  694. window (Main Menu->File import). !Citation will detect that this is a CSV 
  695. archive file (rather than a 5-line text or Medlar file) and a warning 
  696. will be flagged asking for confirmation of de­archiving. If accepted the 
  697. archived data will be added to the end of the receiving library data with 
  698. new ID numbers allocated.
  699.  
  700. The second major use is for "future-proofing" !Citation. Should a later 
  701. version of !Citation require a change in the structure of the data file 
  702. then data can simply be archived out of the old version and imported into 
  703. the new version. If it is necessary to preserve the unique identity 
  704. numbers of your old library, set the archive option accordingly (see 
  705. section 5.2 for Archiving options).
  706.  
  707. Other possible uses include, of course, importing of the whole file into 
  708. any application that accepts CSV format files and importing CSV data into 
  709. !Citation. In the former case, remember to delete the one line header or 
  710. substitute it for a CSV description header before importing into your 
  711. alternative application.
  712.  
  713. Importing a CSV file into !Citation, could be problematic. !Citation 
  714. expects the file to be machine created and so minimal error checking is 
  715. employed on de-archiving. As you can see from the example Archive file 
  716. (load it into !Edit), it is quite complex and easy to make errors if 
  717. manually created. The only advantage of this type of import over the 5-
  718. line text type (see section 1.2 File Import) is again the ability to 
  719. include "button" fields and keywords in the data. If you do attempt CSV 
  720. import, make a backup of the receiving library first!
  721.  
  722. Technical info
  723. --------------
  724. If you intend just use the Citation Archive files within Citation ignore 
  725. the following section.
  726.  
  727. If you wish to import CSV files from another application then you will 
  728. need to know how to provide a header with the information Citation needs 
  729. to make sense of the file. A header created by Citation will look 
  730. something like this...
  731.  
  732. "Citation Archive file. Created: 31/08/95.19:22:55 Ancillary Fields: 
  733. keywords, notes, buttons"
  734.  
  735. ... and it is all quite simple really.
  736.  
  737. Citation first checks for the presence of the string "Citation Archive" 
  738. in the header (note this is case sensitive). This is to trap incompatible 
  739. files, so that in creating your own a header, this string must be present 
  740. somewhere in the header line. The creation date and " Ancillary fields:" 
  741. string are not validated and can be ignored.
  742.  
  743. Secondly, Citation assumes that the CSV file contains at least the 
  744. standard fields of 10 authors, title, source, volume, page and year. If 
  745. ancillary fields are to be included then the following strings must be 
  746. included in the header for each field present:
  747.  
  748.       "#IDN" - for the identity number
  749.       "keywords" - for 5 keyword fields
  750.       "notes" - for the notes field
  751.       "buttons" - for the 3 button fields "etal", "papertype" and "copy"
  752.  
  753. The order of the fields and format of the button values are obviously 
  754. important and can easily be gleaned from examining the example archive 
  755. file.
  756.  
  757. Thus to import a CSV file containing references with a unique ID no. and 
  758. keywords, a suitable header would be:
  759.  
  760. "Citation Archive #IDN keywords"
  761.  
  762. I hope this is sufficient explanation but since this is a subject which 
  763. is only likely to be of interest to a minority of users it doesn't 
  764. warrant a voluminous exposition. You are welcome to Email me for more 
  765. info.
  766.  
  767.  
  768. 5. Configuration & Preferences
  769. ==============================
  770. There are 3 configuration files in the !Citation application directory 
  771. (to open Shift­double click on !Citation), namely "config", "settings" 
  772. and "options".
  773.  
  774. "config" is used by the SBase exec program which runs !Citation (which is 
  775. in intermediate code) - this file should not be changed.
  776.  
  777. "settings" is similarly sacrosanct! This file is read by !Citation on 
  778. start up and is updated on closing the application. It holds your 
  779. preferred citation styles (amongst other things) and if this file is 
  780. corrupted or lost !Citation will report an error on startup and uses 
  781. defaults. A new 'settings' file will be created on exit but your previous 
  782. styles will be lost. You may like to keep a back up.
  783.  
  784. The last active file is also stored here, so if this moves or is deleted 
  785. between running !Citation, !Citation will report an error on next start-
  786. up and open with "No file open". If you make a back up of this file use, 
  787. the "Close library" option in the icon bar menu first, which zeros the 
  788. active file to default and prevents this error - don't worry it is not a 
  789. fatal error if it does occur!
  790.  
  791. The "Citation styles­>Default" option on the icon bar menu deletes all 
  792. your preferred styles and returns to the defaults. Your preferred styles 
  793. will be lost - beware (but may be restored with "Citation styles­> 
  794. Restore" before exiting).
  795.  
  796. The "options" file however, is fair game for alteration by loading into 
  797. !Edit. It needs a bit of explanation first, but essentially looks like 
  798. this:
  799.  
  800. File Start.....
  801. ***** Options - change carefully. See manual *****
  802. memory_transfer ON
  803. ***** Add Journals Below *****
  804. Nature
  805. Science
  806. J. Endocrinol
  807. Mol Cell Biol
  808. *END*
  809. ...File End
  810.  
  811. The "Options" section contains (at the moment just one) configuration 
  812. features which will rarely need altering once set up. Please alter only 
  813. the appropriate parts (eg. ON/OFF). Adding lines (journal names excepted) 
  814. or changing the order may have unexpected effects. Note that alterations 
  815. to these options only take effect when !Citation is run.
  816.  
  817. 5.1 - memory_transfer ON/OFF (default ON).
  818.       ------------------------------------
  819. A problem has been reported with direct drag'n'drop memory transfer to 
  820. other applications (eg. dragging from the "Export" icon to a WP) causing 
  821. !Citation to crash - in particular to earlier versions of !Techwriter.
  822.  
  823. The cause of this is, in the case of !Techwriter, rather technical but 
  824. one (possibly slightly inelegant) solution is to avoid memory transfers 
  825. altogether and use the <WimpScrap> directory instead - hence this option. 
  826. With memory_transfer OFF, Drag'n'Drop works just as with before but your 
  827. disc will spin up. The disadvantages are that it is a little slower and 
  828. you really do need a hard drive.
  829.  
  830. No problems with memory transfer have been found with !Edit, !Zap, 
  831. !Artworks, !Style, !Publisher, !Draw(+) and for the most part you can 
  832. leave the option ON. (My thanks to Peter Killworth and the folks at Icon 
  833. Technology for their help with this one.) Note the latest version of 
  834. Techwriter should now work with memory transfer.
  835.  
  836. 5.2 - Journals
  837.       --------
  838. A list of your favourite journals can be included in this file below the 
  839. indicated "*****" separator. These should be entered as one journal per 
  840. line with no empty lines between journal names and do not remove the 
  841. "*END*" marker. Any number of entries may be added but the sum total 
  842. length for the whole list cannot exceed 255 characters. Entries over this 
  843. limit will be ignored. 
  844.  
  845. 5.3 - Preferences
  846.       -----------
  847. A preference window can be called up from the icon bar menu which allows 
  848. the setting of various parameters whilst Citation is running. All but the 
  849. Archive opts are saved in the "settings" file on exiting the application. 
  850. There is no "OK" icon in this window since all options are immediately 
  851. effective and it is closed by clicking elsewhere or on the close cross. 
  852.  
  853. 5.3a - Archive opt(ion)s
  854. This allows selection of the ancillary fields to be included in an 
  855. archive file (see section 4. on Archiving). These settings are *NOT* 
  856. saved on exiting and will always default to ID no. OFF, keywords ON, 
  857. notes ON and buttons ON on starting the application. This is to try and 
  858. obviate the possibility of accidentally saving an archive with ID nos set 
  859. and creating duplicates.
  860.  
  861. Note that the warning box which asks for confirmation of de-archiving 
  862. also shows which ancillary fields (if any) have been flagged in the 
  863. header line.
  864.  
  865. 5.3b - Export "and" separator
  866. A select drag from the "Export" icon (section 2.1) can be used to put the 
  867. author name and year in a document. The default setting for a two author 
  868. entry is [Smith & Jones, 1995] ie. using the ampersand symbol as a 
  869. separator. This option setting may be changed, if desired, to give the 
  870. letter form ie. [Smith and Jones, 1995].
  871.  
  872. 5.3c - Citation "and" separator
  873. An option is available in the Author formatting in the Citation style 
  874. window to place an "and" separator before the penultimate author name 
  875. viz. Henery GH, Williams DW, Jones FG and James DS. The default setting 
  876. is the letter form of "and" but may be changed to the ampersand symbol, 
  877. if required, by altering this option setting accordingly.
  878.  
  879. 5.3d - Export type
  880. A select drag from the "Export" icon (section 2.1) can be used to put the 
  881. author name and year in a document. Selecting "#IDN" prefixes this output 
  882. with the reference ID number eg. [#0234-Smith & Jones, 1995]. This is 
  883. mainly intended for automatic citation generation (not implemented in 
  884. this version) but might also prove useful for quickly back-referencing 
  885. from the manuscript.
  886.  
  887. 5.3e - Brackets
  888. A select drag from the "Export" icon (section 2.1) can be used to put the 
  889. author name and year in a document. The default setting is to enclose 
  890. this string in square brackets but round or curly brackets can be 
  891. selected with this option.
  892.  
  893. 5.3f - Medlars Abstract
  894. Medlar file abstracts are generally quite long and don't fit into the 
  895. "Notes" field without considerable truncation thereby making them fairly 
  896. useless. Unticking this option causes !Citation to ignore the abstract 
  897. section of a Medlar reference and leave the space for your own, more 
  898. succinct notes!
  899.  
  900. 6. Misc
  901. =======
  902. * Note that "Compact"ing the library (icon bar menu) closes any active 
  903. Search or Subset queries first since these may contain references which 
  904. are flagged deleted and therefore removed from the file. Use this option 
  905. cautiously.
  906.  
  907. * The "Delete all records" option in the icon bar menu does just that for 
  908. the entire library...do keep regular backups of your data.
  909.  
  910. * There are some hot keys which work ONLY when the main card has the 
  911. input focus:
  912. ctrl-D, open Define Subset window
  913. ctrl-S, open General Search window
  914. ctrl-A, open First Author search window
  915. ctrl-N, open Record by #ID no.
  916. ctrl-G, open Generate Set window
  917.  
  918. * Clicking on the close cross - top left of the main viewer window, hides 
  919. this window as well as any other window related to !Citation. The file is 
  920. NOT closed and "select" clicking on the iconbar icon reopens the main 
  921. viewer window and any related windows (search, define subsets etc). This 
  922. is useful for maintaining an uncluttered desktop whilst working on your 
  923. WP and you can easily flick back and forth to insert citations.
  924.  
  925. * Most database files (including this one) use fixed length fields. A 
  926. record uses about 1kb so a fair sized library can be stored on a 1.6 Mb 
  927. floppy for backup (say, over a 1500). However, since most records contain 
  928. numerous redundant spaces a compression utility (!Spark, !Compression 
  929. etc) will achieve significant a space saving.
  930.  
  931.  
  932. 7. Errors
  933. =========
  934.  
  935. I have tried to prevent most errors occurring by design but those obvious 
  936. ones which escape are covered by appropriate error handlers (usually 
  937. where data is imported or exported and the media may be faulty/not 
  938. present). Error reports are mostly informative but S-base exec does not 
  939. support many error messages so you might get something like "Error 107" 
  940. or similar. A click on "OK" will abort most errors and !Citation will 
  941. fail-safe.
  942.  
  943. A global error handler, however, is provided to capture unforeseen errors 
  944. and flags, "!Citation has encountered a fatal error and must exit 
  945. immediately. No data should be lost (see manual)." After exiting, 
  946. !Citation then writes an error code to the "settings" file (see section 
  947. 5.). Immediately after experiencing such an error (preferably before 
  948. running !Citation again), make a copy of your "settings" file and send it 
  949. to me for diagnosis.
  950.  
  951. Happy writing....
  952.